package com.zz.jdk8.base;

import java.text.MessageFormat;

/**
 * @author zhr
 */
public class MessageFormatTest {
    public static void main(String[] args) {


        System.out.println(new MessageFormat("")
                .format("冻结欢豆失败：用户可用欢豆数不足[freezeAmt: {} <> useableAmt: {}]","12", "34"));
    }
}
